package com.designpatterns.iterator.iterator;

/**
 * Iterator Interface
 * 
 * @author Haiqi.Wang
 * @since 2013-6-9下午4:03:55
 */
public interface Iterator {
	/**
	 * next method
	 * @return obj
	 */
	Object next();

	/**
	 * first method
	 */
	void first();

	/**
	 * last method
	 */
	void last();

	/**
	 * hasNext method
	 * @return true or false
	 */
	boolean hasNext();
}
